package jp.sourceforge.akjrcp.audiomerge;

import jp.sourceforge.akjrcp.commons.ui.FileDirChoicer;
import jp.sourceforge.akjrcp.ui.LayoutDataBuilder;
import jp.sourceforge.akjrcp.ui.WidgetBuilder;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;

public class InsertAudioDataComposite extends Composite{
private Label indexLabel;
private FileDirChoicer filePathChoicer;
	public InsertAudioDataComposite(Composite parent, int style) {
		super(parent, style);
		this.setLayout(new GridLayout());
		Composite labelPath=WidgetBuilder.createGridLayoutComposite(this, SWT.NULL,2,false);
		indexLabel=new Label(labelPath,SWT.NULL);
		indexLabel.setLayoutData(LayoutDataBuilder.hintGridData(30, 0));
		filePathChoicer=new FileDirChoicer(labelPath,SWT.NULL,FileDirChoicer.FILE,"",true);
		filePathChoicer.setLayoutData(LayoutDataBuilder.fillHorizontalGridData());
	}

}
